package com.sdkteam.Audience;

import android.app.Dialog;
import android.content.Context;
import android.view.View;
import android.view.Window;

import com.sdkteam.Help.Mil50;

public class MilAudienceDialog extends Dialog implements
		android.view.View.OnClickListener {

	int answer;
	int level;
	Mil50 mil50;
	MilAudience mil;

	// Button back_menu;

	public MilAudienceDialog(Context context, int answer, int level, Mil50 mil50) {
		super(context);
		this.answer = answer;
		this.level = level;
		this.mil50 = mil50;
		mil = new MilAudience(context, answer, level, mil50);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(mil);
		//
		// back_menu = (Button) findViewById(R.id.back_menu);
		// back_menu.setOnClickListener(this);
		//
		// mil = (MilAudience) findViewById(R.id.barchart);
		mil.setOnClickListener(this);

	}

	public void onClick(View v) {
		dismiss();

	}

}
